#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <vector>

int main(int argc, char **argv) {
    std::vector<int> ids;
    //int count = argc - 1;

    //for (int i = 0; i < count; ++i) {
////        if (ids.size() <= atoi(*(argv + i + 1)))
////            ids.push_back());
////        else
////            ids.insert(ids.begin() + atoi(*(argv + i + 1)), atoi(*(argv + i + 1)));
        //if (ids.empty())
          //ids.insert(ids.begin(), 10, -1);
        //ids[atoi(*(argv + i + 1))] = atoi(*(argv + i + 1));

    //}
    //
    ids.resize(10, 100);
    ids.assign(5, 0);
    for (auto& id: ids) {
        printf("%d\n", id);
    }

    return 0;
}
